<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<c:forEach items="${dataList}" var="goods"  varStatus="status">
<c:if test="${status.index%2==0}">
<div class="chanp"> 
	<div class="chanp_1" onclick="javascript:viewGoods('${goods.goodsId}')">
		<div class="chanp_1_top"><img src="<%=path %>/uncheck/pictures/servlet?id=${goods.goodsSmallImg}" width="100%" height="" /></div>
		<div class="chanp_1_inherit">
			<span>${goods.goodsName}</span>
			<p>已领：${goods.buyNum}人</p>
		</div>
		<div class="chanp_1_bottom">
			<P style="text-decoration:line-through;"></span>￥${goods.goodsPrice}</P>
			<em><img src="<%=path%>/images/mianf.png"  width="100%" height=""/></em>
		</div>
	</div>
</c:if>	
<c:if test="${status.index%2==1}">	
	<div class="chanp_2" onclick="javascript:viewGoods('${goods.goodsId}')">
		<div class="chanp_1_top"><img src="<%=path %>/uncheck/pictures/servlet?id=${goods.goodsSmallImg}" width="100%" height="" /></div>
		<div class="chanp_1_inherit">
			<span>${goods.goodsName}</span>
			<p>已领：${goods.buyNum}人</p>
		</div>
		<div class="chanp_1_bottom">
			<P style="text-decoration:line-through;">￥${goods.goodsPrice}</P>
			<em><img src="<%=path%>/images/mianf.png"  width="100%" height=""/></em>
		</div> 
	</div>
</div>
<div class="clear"></div>
</c:if>
</c:forEach>
<div id="goods_loading_more_div">
	<input type="hidden" id="goods_pageNo" value="${paramMap.pageNo}">
	<input type="hidden" id="goods_pageCount" value="${paramMap.pageCount}">
	<c:if test="${paramMap.pageNo<paramMap.pageCount}">
	<div id="goods_loading_more" class="bottom1" onclick="goodsLoadMore()">点击加载更多</div>
	</c:if>
</div>
